home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q106 / 1 / 52.TXT < prev    next >
Text File  |  1993-12-21  |  3KB  |  74 lines

  1. DOCUMENT:Q106152  20-DEC-1993  [W_NT]
  2. TITLE   :Changing Schedule Service Object Account Causes Problems
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SYMPTOMS
  16. ========
  17.  
  18. When you change the default object account (system account) for the
  19. Schedule service to another account, you will experience problems when you
  20. run scheduled commands.
  21.  
  22. If you want to schedule commands that need to access network resources,
  23. such as back up a remote share, you need to change the Schedule service
  24. logon account from system account to a network access-permitted account.
  25. This is done using the Services option in Control Panel by defining the
  26. Startup settings. This is necessary because the system account has only
  27. guest privileges accessing remote shares.
  28.  
  29. After you start the Schedule service, and add a process to the service
  30. using the AT command, the command starts at the specified time, but doesn't
  31. perform any action and returns without errors.
  32.  
  33. WORKAROUND
  34. ==========
  35.  
  36. Start the Scheduler Service with the default object account (System
  37. Account) and create the following batch file to be scheduled:
  38.  
  39.    REM Connect to server1\share1 using privileges of user1
  40.    NET USE Z: \\SERVER1\SHARE1 /USER:DOMAIN1\USER1 PASSWORD
  41.  
  42.    REM Execute remote backup of device Z:
  43.    NTBACKUP BACKUP Z:\ /D "MY BACKUP" /B /L C:\BACKUP.LOG
  44.  
  45.    REM Disconnect remote share
  46.    NET USE Z: /D
  47.  
  48.    REM Continue the operation for any additional remote shares
  49.  
  50. This batch file first assigns drive Z to remote SHARE1 on SERVER1, and then
  51. backups the remote share via the NTBACKUP command. After the backup has
  52. been completed, drive Z is unassigned and reconnected to additional
  53. share(s). The NET USE command is executed with a special account which
  54. needs full access to all files installed remotely.
  55.  
  56. Additional reference words: 3.10 ntbackup schedule
  57. KBCategory:
  58. KBSubCategory: ntap
  59.  
  60. =============================================================================
  61.  
  62. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  63. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  64. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  65. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  66. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  67. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  68. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  69. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  70. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  71. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  72. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  73.  
  74. Copyright Microsoft Corporation 1993.